home *** CD-ROM | disk | FTP | other *** search
/ Die Speccy' 97 / Die Speccy' 97.iso / amiga_system / the_aminet / comm / bbs / maxsutils.lha / MaxUtils / FileAdderV1.52.lha / FileAdder.doc next >
Text File  |  1992-03-26  |  2KB  |  69 lines

  1. Yep - here it is!  Another doc by Randy!               3 June, 1992
  2.  
  3. Update V1.42f (First one really!)
  4.  
  5. FileAdder is a command line file adder for MAXsBBS.
  6. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7.  
  8. It takes as arguments the file name and the file section to which you wanna
  9. add it.  
  10.  
  11. You can also optionally supply the name of the uploader (must be in double
  12. quotes) - if this isn't supplied, the name from the MAXsBBS.config file will
  13. be used.
  14.  
  15. You can also supply the file description on the command line - just type any
  16. old thing (spaces are fine) and no quotes are needed.  If no description is
  17. supplied, the FileComment will be used - if there isn't one, no description
  18. will be used at all.
  19.  
  20. The proggy will check that the file exists and that the section number you
  21. pass is in fact a file section (no more files in Private Email!), but does
  22. *not* check if the file is already online!!!  (I did it, but it's too slow
  23. for my taste, so I took it out again.  Might rewrite that bit in assembler
  24. one day - the rest is in Basic!).
  25.  
  26. Also, the programme makes *no* attempt to see if the file is in a legal path,
  27. known to MAXsBBS.
  28.  
  29. Eddie Lawford (Ta mate!) explained how to get it to check if MAXsBBS is
  30. running and if so tell MAXsBBS about the new file - you can simply add it in
  31. and a user can d/l it immediately, without having to open up the file editor
  32. and save it back.  The file won't show up on the main MAXsBBS screen (the one
  33. you have when no-one's online) unless ya iconify it & reopen, cos that screen
  34. doesn't dynamically check all the time (no real need to) but it *is* there!!
  35.  
  36.  
  37.  
  38. The programme runs nicely under Directory Opus by the way - just set it up as
  39. a gadget with the following set:
  40.  
  41. Output Window
  42. Do All Files  (So's ya can do more than 1 at a time)
  43. Directory Opus to front
  44. CD Source
  45. Don't quote filenames
  46.  
  47. My command line in Dopus is:
  48.  
  49. BBS:FileAdderV142f {o} {aSection Number}
  50.  
  51. The {o} will just pass the file name, not the path as well.
  52.  
  53. When you run it, you can also add a from name or description as well of
  54. course ... but note please that if ya add 10 files at once, adding a
  55. description will, of course, give 'em all the same description!!
  56.  
  57. The following are valid command lines:
  58.  
  59. FileAdder Test.lha 20
  60. FileAdder Test.lha 20 "Randy"
  61. FileAdder Test.lha 20 "Randy" This is a test file!!
  62. FileAdder Test.lha 20 Test file again.
  63.  
  64.  
  65. Any comments etc, please lemme know.
  66.  
  67. Cheers,
  68. Randy
  69.